<form enctype="multipart/form-data" method="post" action="/post" class="form-horizontal">
  <div class="form-group">
    <label for="title" class="col-sm-2 control-label">标题</label>
    <div class="col-sm-8">
      <input type="text" class="form-control" id="title" name="title" placeholder="标题">
    </div>
  </div>
  <div class="form-group">
    <label for="content" class="col-sm-2 control-label">正文</label>
    <div class="col-sm-8">
      <textarea class="form-control" rows="5" id="content" name="content" placeholder="正文"></textarea>
    </div>
  </div>
  <div class="form-group">
    <label for="category" class="col-sm-2 control-label">类别</label>
    <div class="col-sm-8">
      <select class="form-control" id="category" name="category">
        <option value="2">物业通知</option>
        <option value="3">社区动态</option>
      </select>
    </div>
  </div>
  <div class="form-group">
    <label for="iconImage" class="col-sm-2 control-label">配图</label>
    <div class="col-sm-8">
      <input type="file" id="iconImage" name="iconImage" />
    </div>
  </div>
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-8">
      <button type="submit" class="btn btn-default">提交</button>
    </div>
  </div>
</form>
